/*  ----------------------------------------------------------------------------
 *  Arello Mobile
 *  Fast 3d Engine
 *  ----------------------------------------------------------------------------
 * Except where otherwise noted, this work is licensed under
 * http://creativecommons.org/licenses/by/3.0
 */

#ifndef __PICTUREFORMAT_DECOMPRESSOREMPTY_H__
#define __PICTUREFORMAT_DECOMPRESSOREMPTY_H__

#include "Decompressor.h"

namespace liba
{
namespace pictureformat
{

class DecompressorEmpty : public Decompressor
{
public:
	virtual int get_width(int frame)const
	{
		return 0;
	}
	virtual int get_height(int frame)const
	{
		return 0;
	}
	virtual Format get_best_format()const
	{
		return R8G8B8;
	}
	virtual int get_frame_count()const
	{
		return 0;
	}
	virtual void reset(Format f, int frame)
	{}
	virtual void unpack_scanline(void * dst)
	{}
	virtual void skip_scanline(int count)
	{}
};

} // namespace pictureformat
} // namespace liba
using namespace liba;

#endif //__PICTUREFORMAT_DECOMPRESSOREMPTY_H__